home *** CD-ROM | disk | FTP | other *** search
/ SPACE 2 / SPACE - Library 2 - Volume 1.iso / program / 316 / libsrc / telldir.c < prev    next >
Encoding:
C/C++ Source or Header  |  1988-10-20  |  557 b   |  27 lines

  1. /*
  2.  *        Cross Development System for Atari ST 
  3.  *     Copyright (c) 1988, Memorial University of Newfoundland
  4.  *
  5.  *  A public domain implementation of BSD directory routines for MS-DOS/atari.
  6.  *  Written by Michael Rendell ({uunet,utai}michael@garfield), August 1897
  7.  *
  8.  * $Header: telldir.c,v 1.2 88/01/29 18:04:07 m68k Exp $
  9.  *
  10.  * jrd 1.2
  11.  *
  12.  * $Log:    telldir.c,v $
  13.  * Revision 1.1  88/01/29  18:04:07  m68k
  14.  * Initial revision
  15.  * 
  16.  */
  17.  
  18. #include <types.h>
  19. #include <dir.h>
  20.  
  21. long
  22. telldir(dirp)
  23.     DIR    *dirp;
  24. {
  25.     return dirp->dd_loc;
  26. }
  27.